home *** CD-ROM | disk | FTP | other *** search
- head 1.2;
- branch ;
- access ;
- symbols sprited:1.2.1;
- locks ; strict;
- comment @ * @;
-
-
- 1.2
- date 89.07.14.09.17.42; author rab; state Exp;
- branches 1.2.1.1;
- next 1.1;
-
- 1.1
- date 88.06.21.09.37.01; author ouster; state Exp;
- branches ;
- next ;
-
- 1.2.1.1
- date 91.12.02.21.22.08; author kupfer; state Exp;
- branches ;
- next ;
-
-
- desc
- @@
-
-
- 1.2
- log
- @*** empty log message ***
- @
- text
- @/*
- * varargs.h --
- *
- * Macros for handling variable-length argument lists.
- *
- * Copyright 1988 Regents of the University of California
- * Permission to use, copy, modify, and distribute this
- * software and its documentation for any purpose and without
- * fee is hereby granted, provided that the above copyright
- * notice appear in all copies. The University of California
- * makes no representations about the suitability of this
- * software for any purpose. It is provided "as is" without
- * express or implied warranty.
- *
- * $Header: /sprite/src/lib/include/sun3.md/RCS/varargs.h,v 1.1 88/06/21 09:37:01 ouster Exp Locker: rab $ SPRITE (Berkeley)
- */
-
- #ifndef _VARARGS
- #define _VARARGS
-
- typedef struct {
- char *vl_current; /* Pointer to last arg returned from
- * list. */
- char *vl_next; /* Pointer to next arg to return. */
- } va_list;
-
- #define va_alist _va_args
-
- #define va_dcl int _va_args;
-
- #define va_start(list) \
- (list).vl_current = (list).vl_next = (char *) &_va_args;
-
- #define va_arg(list, type) \
- ((list).vl_current = (list).vl_next, \
- (list).vl_next += sizeof(type), \
- *((type *) (list).vl_current))
-
- #define va_end(list)
-
- #endif /* _VARARGS */
- @
-
-
- 1.2.1.1
- log
- @Initial branch for Sprite server.
- @
- text
- @d15 1
- a15 1
- * $Header: /sprite/src/lib/include/sun3.md/RCS/varargs.h,v 1.2 89/07/14 09:17:42 rab Exp $ SPRITE (Berkeley)
- @
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @d15 1
- a15 1
- * $Header: varargs.h,v 1.3 88/06/17 17:31:32 ouster Exp $ SPRITE (Berkeley)
- d41 1
- a41 1
- #endif _VARARGS
- @
-